inherited dtmcw_CustAdjust: Tdtmcw_CustAdjust
  OldCreateOrder = True
  inherited adsMaster: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from V_cw_CustAdjust where 0=1'
    object adsMasterBillID: TStringField
      DisplayLabel = #35843#25972#21333'ID'
      FieldName = 'BillID'
    end
    object adsMasterBillNo: TStringField
      DisplayLabel = #35843#25972#21333#21495
      FieldName = 'BillNo'
    end
    object adsMasterBillDate: TDateTimeField
      DisplayLabel = #35843#25972#26085#26399
      FieldName = 'BillDate'
    end
    object adsMasterBillType: TWordField
      DisplayLabel = #31867#22411
      FieldName = 'BillType'
    end
    object adsMasterFinanceID: TStringField
      DisplayLabel = #36130#21153#26399#38388'ID'
      FieldName = 'FinanceID'
    end
    object adsMasterFinanceCode: TStringField
      DisplayLabel = #36130#21153#26399#38388#32534#30721
      FieldName = 'FinanceCode'
    end
    object adsMasterFinanceName: TStringField
      DisplayLabel = #36130#21153#26399#38388
      FieldName = 'FinanceName'
      Size = 30
    end
    object adsMasterDeptID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'DeptID'
    end
    object adsMasterCustID: TStringField
      DisplayLabel = #23458#25143'ID'
      FieldName = 'CustID'
    end
    object adsMasterCustCode: TStringField
      DisplayLabel = #23458#25143#32534#30721
      FieldName = 'CustCode'
    end
    object adsMasterCustShortName: TStringField
      DisplayLabel = #23458#25143#31616#31216
      FieldName = 'CustShortName'
      Size = 50
    end
    object adsMasterCustFullName: TStringField
      DisplayLabel = #23458#25143#21517#31216
      FieldName = 'CustFullName'
      Size = 100
    end
    object adsMasterMoney: TFloatField
      DisplayLabel = #37329#39069
      FieldName = 'Money'
    end
    object adsMasterHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 50
    end
  end
  inherited adsMasterEdit: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from cw_CustAdjust where 0=1'
    object adsMasterEditBillID: TStringField
      DisplayLabel = #35843#25972#21333'ID'
      FieldName = 'BillID'
    end
    object adsMasterEditBillNo: TStringField
      DisplayLabel = #35843#25972#21333#21495
      FieldName = 'BillNo'
    end
    object adsMasterEditBillDate: TDateTimeField
      DisplayLabel = #35843#25972#26085#26399
      FieldName = 'BillDate'
      OnChange = adsMasterEditBillDateChange
    end
    object adsMasterEditBillType: TWordField
      DisplayLabel = #31867#22411
      FieldName = 'BillType'
    end
    object adsMasterEditFinanceID: TStringField
      DisplayLabel = #36130#21153#26399#38388'ID'
      FieldName = 'FinanceID'
    end
    object adsMasterEditDeptID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'DeptID'
    end
    object adsMasterEditCustID: TStringField
      DisplayLabel = #23458#25143'ID'
      FieldName = 'CustID'
    end
    object adsMasterEditMoney: TFloatField
      DisplayLabel = #37329#39069
      FieldName = 'Money'
    end
    object adsMasterEditHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterEditChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterEditCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterEditWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterEditWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterEditModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterEditModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterEditRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 50
    end
    object adsMasterEditres_CustCode: TStringField
      DisplayLabel = #23458#25143#32534#30721
      FieldKind = fkLookup
      FieldName = 'res_CustCode'
      LookupDataSet = res_Customer
      LookupKeyFields = 'CustID'
      LookupResultField = 'CustCode'
      KeyFields = 'CustID'
      Lookup = True
    end
    object adsMasterEditres_CustShortName: TStringField
      DisplayLabel = #23458#25143#31616#31216
      FieldKind = fkLookup
      FieldName = 'res_CustShortName'
      LookupDataSet = res_Customer
      LookupKeyFields = 'CustID'
      LookupResultField = 'CustShortName'
      KeyFields = 'CustID'
      Size = 50
      Lookup = True
    end
    object adsMasterEditres_CustFullName: TStringField
      DisplayLabel = #23458#25143#20840#31216
      FieldKind = fkLookup
      FieldName = 'res_CustFullName'
      LookupDataSet = res_Customer
      LookupKeyFields = 'CustID'
      LookupResultField = 'CustFullName'
      KeyFields = 'CustID'
      Size = 100
      Lookup = True
    end
    object adsMasterEditres_FinanceName: TStringField
      DisplayLabel = #36130#21153#26399#38388
      FieldKind = fkLookup
      FieldName = 'res_FinanceName'
      LookupDataSet = res_FinancePeriod
      LookupKeyFields = 'FinanceID'
      LookupResultField = 'FinanceName'
      KeyFields = 'FinanceID'
      Lookup = True
    end
  end
  object res_FinancePeriod: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select FinanceID, FinanceCode, FinanceName from cw_FinancePeriod'
    Parameters = <>
    Left = 168
    Top = 40
  end
  object res_Customer: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 
      'Select CustID, CustCode, CustShortName, CustFullName '#13#10'from V_da' +
      '_Customer'
    Parameters = <>
    Left = 280
    Top = 40
  end
end
